{% extends "admin/admin_layout.html" %}
{% block admin_title %}上传文件{% endblock %}
{% block admin_head %}
{% endblock %}
{% block admin_content %}
<div class="sect">
    <h2>上传文件</h2>
    <div class="sectContent gForm">
		<form action="." method="post" enctype="multipart/form-data">
			<div class="row">
				<label>上传位置：</label>
				<input id="up_pos" name="up_pos" type="text" class="inputbox" />
				<span class="hint">默认为/static/data/temp/</span>
			</div>
		    <div class="row">
		    	<label>选择文件：</label>
				<input id="up_file" name="up_file" type="file" class="inputbox" />
				<input class="button" type="submit" value="上传" />
				<p class="alert">{{ errors.get('up_file', '') }}</p>
		    </div>
		</form>
    </div>
</div>
{% endblock %}
